package cn.iocoder.devlop.module.annual.report.record.convert;

import cn.iocoder.devlop.module.annual.report.record.controller.vo.ReportRecordBaseVO;
import cn.iocoder.devlop.module.annual.report.record.dal.dataobject.ReportRecordDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 年报记录 Convert
 *
 * @author sunhao
 */
@Mapper
public interface ReportRecordConvert {

    ReportRecordConvert INSTANCE = Mappers.getMapper(ReportRecordConvert.class);

    ReportRecordDO convert(ReportRecordBaseVO bean);

    ReportRecordBaseVO convert(ReportRecordDO bean);

    List<ReportRecordBaseVO> convertList(List<ReportRecordDO> list);


}
